package com.swust.course.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.swust.common.core.annotation.Excel;
import com.swust.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 课程信息对象 course_info
 *
 * @author LiuShuai
 * @date 2024-04-04
 */
@TableName("course_info")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 课程名
     */
    @Excel(name = "课程名")
    private String courseName;

    /**
     * 课程代码
     */
    @TableId
    @Excel(name = "课程代码")
    private String courseCode;

    /**
     * 开课学院
     */
    @Excel(name = "开课学院")
    private String collegeName;

    /**
     * 课程类型 0 理论课,1实验课
     */
    private Integer type;

    @Excel(name = "课程类型")
    @TableField(exist = false)
    private String typeName;

}
